home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / circuits / ocean / cacd_bin.000 / cacd_bin / lib / include / dmdef.h < prev    next >
C/C++ Source or Header  |  1994-05-06  |  1KB  |  50 lines

  1. /* SccsId = "@(#)dmdef.h 3.6 (TU-Delft) 04/28/93" */
  2. /**********************************************************
  3.  
  4. Name/Version      : The Design Data Management Project
  5.  
  6. Language          : C
  7. Operating system  : UNIX SYSTEM V
  8. Host machine      : HP9000/S500
  9.  
  10. Author(s)         : S. de Graaf
  11.                     A. van der Hoeven
  12.                     T.G.R. van Leuken
  13.                     N. van der Meijs
  14.             T. Vogel
  15.             P. van der Wolf
  16. Creation date     : 04-Dec-1986
  17. Modified by       : 
  18. Modification date : 
  19.  
  20.  
  21.         Delft University of Technology
  22.         Department of Electrical Engineering
  23.         Network Theory Section
  24.         Mekelweg 4 - P.O.Box 5031
  25.         2600 GA DELFT
  26.         The Netherlands
  27.  
  28.         Phone : 015 - 786234
  29.  
  30.         COPYRIGHT (C) 1985-1987 , All rights reserved
  31. **********************************************************/
  32.  
  33. #ifndef __DMDEF_H
  34. #define __DMDEF_H
  35.  
  36.  
  37. /* a large value for MAXLINE. It is mostly used for pathnames
  38.  * (but not always) and there is no checking for overflow
  39.  * of arrays constructed using MAXLINE.
  40.  */
  41. #define     MAXLINE        1024
  42.  
  43. #define    Abs(a)        ((a) < 0 ? -(a) : (a))
  44. #define Min(a,b)    ((a) < (b) ? (a) : (b))
  45. #define    Max(a,b)    ((a) > (b) ? (a) : (b))
  46. #define Round(x)    (((x) > 0) ? ((x)+0.5) : ((x)-0.5))
  47.  
  48. #endif /* __DMDEF_H */
  49.  
  50.